
package com.ffcs.crmd.tsp.admin.api.facade;

import java.util.List;

import com.ctg.itrdc.platform.common.entity.PageInfo;
import com.ffcs.crmd.platform.core.ddd.api.facade.IDomBaseFacade;
import com.ffcs.crmd.tsp.admin.api.dto.JobDTO;

public interface IJobFacade extends IDomBaseFacade {

	public void save(JobDTO jobDto) throws Exception;
    
    public void remove(JobDTO jobDto) throws Exception;
    
    public void remove(List<JobDTO> jobDtos) throws Exception; 

    public void deleteJobdetailList(List<JobDTO> jobDTOList) throws Exception;
    
    public void update(JobDTO jobDto) throws Exception;

    public void resume(List<JobDTO> jobDtoList) throws Exception;

    public void pause(List<JobDTO> jobDTOList) throws Exception;
    
    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param name
     * @param jobGroupId
     * @param identity
     * @return
     * @throws Exception
     */
    List<JobDTO> query(JobDTO jobDto) throws Exception;


    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param name
     * @param jobGroupId
     * @param identity
     * @param pageNumber
     * @param pageSize
     * @return
     * @throws Exception
     */
    PageInfo<JobDTO> queryPage(JobDTO jobDto) throws Exception;

    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param id
     * @return
     * @throws Exception
     */
    JobDTO get(JobDTO jobDto) throws Exception;


}
